package com.bailun91.auth.service;

import com.bailun91.auth.entity.JsonData;
import com.bailun91.auth.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface LoginService {

    JsonData login(String userName,String password , HttpServletRequest request, HttpServletResponse response);

    JsonData logout(HttpServletRequest request,HttpServletResponse response);
}
